package com.v.im.businessservice.dao;

import com.v.im.businessservice.bean.ImUserFriendEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface ImUserFriendDao extends JpaRepository<ImUserFriendEntity,Long> {

    List<ImUserFriendEntity> findByUserId(String userId);

    List<ImUserFriendEntity> findByFriendId(String friendId);
}
